Mewz\WCAS\Util\Orders B

Total Complexity 96
Dependencies 9
Dependents 10
Total lines 486
Lines of code 293
Logical lines of code 220
Comment lines 76
Methods 9
Properties 0

Methods 9

Method Rating Maintainability Complexity Lines of code
update_order_item_attribute_stock()
D
30 33 111
update_order_attribute_stock()
B
40 23 56
add_stock_change_order_note()
A
44 12 38
update_order_reduced_stock_amounts()
S
52 7 23
merge_changes()
S
54 7 22
update_stock_quantity()
S
55 4 20
get_valid_order_line_item()
S
65 5 9
get_order_item_attributes()
S
62 4 10
get_effective_order_item_quantity()
S
75 1 4